package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 订阅里程包表
 * </p>
 *
 * @author xuelin yi
 * @since 2019-08-12
 */
public class GoodsSubscribeMileageBean extends RootBean {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 里程数
     */
    private Integer miles;

    /**
     * 里程价格
     */
    private BigDecimal milesPrice;

    /**
     * 赠送里程（0：不赠送）
     */
    private Integer giftMiles;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getMiles() {
        return miles;
    }

    public void setMiles(Integer miles) {
        this.miles = miles;
    }

    public BigDecimal getMilesPrice() {
        return milesPrice;
    }

    public void setMilesPrice(BigDecimal milesPrice) {
        this.milesPrice = milesPrice;
    }

    public Integer getGiftMiles() {
        return giftMiles;
    }

    public void setGiftMiles(Integer giftMiles) {
        this.giftMiles = giftMiles;
    }

    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}
